
<fieldset><legend>我的工作经历</legend>
<table>
	<tr align="center">
		<th width="40">序号</th>

		<th>开始时间</th>
		<th>完成时间</th>

		<th>公司名称</th>
		<th>职务</th>

		<th>离职原因</th>
	</tr>
	{[foreach name=outer key=key item=item from=$my]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>

		<td>{[$item.t1]}</td>
		<td>{[$item.t2]}</td>

		<td>{[$item.company]}</td>
		<td>{[$item.job]}</td>

		<td>{[$item.reason]}</td>
	</tr>
	{[/foreach]}
</table>
</fieldset>

<fieldset><legend>添加工作经历</legend>
<form id="form_add" method="post" action="{[$root]}{[$postLink]}{[$p1]}{[$p2]}"><input type="hidden" name="id"
	value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right">员工：</td>
		<td colspan="3">{[$emp.name]}({[$emp.id]})</td>
	</tr>
	<tr>
		<td align="right">期间：</td>
		<td colspan="3"><input type="text" name="t1" id="t1" size="12" value=""> 至 <input type="text" name="t2" id="t2" size="12" value=""></td>
	</tr>
	<tr>
		<td align="right">公司名称：</td>
		<td colspan="3"><input type="text" name="company" size="30" value=""></td>
	</tr>
	<tr>
		<td width="20%" align="right">职务：</td>
		<td width="20%"><input type="text" name="job" size="12" value=""></td>
		<td width="20%" align="right">证明人：</td>
		<td width="20%"><input type="text" name="tel" size="12" value=""></td>
	</tr>
	<tr>
		<td align="right">离职原因：</td>
		<td colspan="3"><input type="text" name="reason" size="20" value=""></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" id="content" cols="55"></textarea></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/emp/work/add.js?r={[$smarty.now]}"></script>
